﻿namespace ufida.u9.ait.openapi
{
	using System;
	using System.Collections.Generic;
	using System.Text;
    using ufida.u9.ait.openapi.utils;
    using UFIDA.U9.AR.ARBill;
    using UFIDA.U9.Base;
    using UFIDA.U9.Base.Currency;
    using UFIDA.U9.Base.Doc;
    using UFIDA.U9.CBO.FI.Tax;
    using UFIDA.U9.CBO.HR.Department;
    using UFIDA.U9.CBO.HR.Operator;
    using UFIDA.U9.CBO.Pub.Controller;
    using UFIDA.U9.CBO.SCM.Customer;
    using UFIDA.U9.CBO.SCM.Item;
    using UFSoft.UBF.AopFrame;
    using UFSoft.UBF.Business;
    using UFSoft.UBF.Util.Context;

	/// <summary>
	/// ARBillSaveSV partial 
	/// </summary>	
	public partial class ARBillSaveSV 
	{	
		internal BaseStrategy Select()
		{
			return new ARBillSaveSVImpementStrategy();	
		}		
	}
	
	#region  implement strategy	
	/// <summary>
	/// Impement Implement
	/// 
	/// </summary>	
	internal partial class ARBillSaveSVImpementStrategy : BaseStrategy
	{
		public ARBillSaveSVImpementStrategy() { }

		public override object Do(object obj)
		{						
			ARBillSaveSV bpObj = (ARBillSaveSV)obj;

            return CodeUtils.DocSaveRT(bpObj, bpObj.Data, ARBillBase.CreateDoc, ARBillBase.ApproveDoc);
        }
    }

	#endregion
	
	
}